package com.onec.service.channel.dao;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.channel.entity.ChannelOrderDetail;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = ChannelOrderDetail.class, idClass = Long.class)
public interface ChannelOrderDetailRepository extends BaseRepository<ChannelOrderDetail, Long> {

    ChannelOrderDetail findBySerialNum(String serialNum);

    ChannelOrderDetail findByExternalNum(String externalNum);

    ChannelOrderDetail findByTradeNum(String tradeNum);

}
